package com.java110.mall.chain.partner.adapter.hibo.utils;


public class Response<T> {
    public static final String YZT_SUCCESS_CODE = "0";
    private String code;
    private String msg;
    private String detail;
    private T result;

    public Response() {
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean isSuccess() {
        return "0".equals(this.code);
    }

    public String getDetail() {
        return this.detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public T getResult() {
        return this.result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}